<!DOCTYPE html>
<html lang="zh-CN" ng-app="app" ng-controller="gwc">
<head>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <title>购物车</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="../css/iconfont/iconfont.css" rel="stylesheet"/>
    <link href="../css/common.css" rel="stylesheet"/>
    <link href="../css/cart.css" rel="stylesheet"/>
     <link href="../css/uc.css" rel="stylesheet"/>
    <script src="../js/jquery.js"></script>
     <script src="../js/angular.min.js"></script>
	<script src="../js/angular-route.min.js"></script>
	<link rel="stylesheet" href="../js/icheck/style.css"/>
	<script src="../js/icheck/icheck.min.js"></script>
	<script src="../js/global.js"></script>
	<script src="../js/wgc/cart.js"></script>
	<script src="../js/audit.queue.js"></script>
</head>
<body class="graybg-theme">
    <!--头部-->
        <div class="topper">
            <div class="wrapper">
                <div class="left-bar">
                    <div class="back-home divider">
                        <em></em><a href="index.html">商城首页</a>
                    </div>
                    <div class="item"><a href="">商家中心</a></div>
                </div>
                <div class="right-bar">
                    <div class="login-user sub-menu">
                        <a class="menu-hd" href="">{{username}}<em></em></a>
                        <div class="down">
                            <a href="">内容</a>
                            <a href="">内容</a>
                            <a href="">内容</a>
                        </div>
                    </div>
                    <div class="item"><a href="uc-msg.html">消息（<span class="txt-theme">0</span>）</a></div>
                    <div class="logout divider"><a href="javascript:void(0)" ng-click="logout()">退出</a></div>
                    <span class=""></span>
                    <div class="cart"><em></em><a href="./cart">购物车</div>
                    <div class="order"><em></em><a href="uc-order.html">我的订单</a></div>
                    <div class="fav"><em></em><a href="../wdsc/wdsc">我的收藏</a></div>
                </div>
            </div>
        </div>
        <div class="cart-header wrapper">
            <div class="logo">
                <a href="javascript:void(0)"><img src="../img/logo.png" alt="logo" /></a>
            </div>
            
        </div>    
         <div class="wrapper uc-router">
        <ul>
            <li><a href="../pub/index">首页</a></li>
            <li><span class="divider"></span></li>
            <li><span>购物车</span></li>
        </ul>
    </div>	
    <!--头部-->

    <div class="wrapper">
        <table class="cart-table">
            <thead>
                <tr class="hd">
                    <th width="30px" class="first"><label class="check"><input  type="checkbox" ng-model="isTrue" ng-click="selectAll(isTrue)" /><span>全选</span></label></th>
                    <th width="430px">自行车名称</th>
                    <th width="180px">租金</th>
                    <th width="190px">数量</th>
                    <th width="180px">费用</th>
                    <th width="190px">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr class="blank">
                    <td colspan="6"></td>
                </tr>
                <tr class="shop">
                    <td colspan="6" class="first">
                        <div class="check"><span>车店：Precheng</span></div>
                    </td>
                </tr>
            </tbody>
            <tbody>
                <tr class="goods" ng-repeat="s in gwc">
					<td class="first">
						<div class="check">
						<input id="money" type="checkbox" ng-model="s.bol" ng-click="selectCar(s.price,s.num,s.bol)"/>
						</div>
					</td>
					<td>
                        <div class="info-box">
                            <img width="60" height="60" src="../uploads/{{s.img}}" alt="">
                            <div class="info">
                                <div class="name">{{s.xm}}</div>
                            </div>
                        </div>
                    </td>
                    <td>￥<span class="unitprice">{{s.price}}/天</span></td>
                    <td>
                        <div class="mod-numbox cart-numbox" data-max="5">
                            <span class="count-minus" ng-click="subNum(s.xm,s.num)"></span>
                            <input class="count-input" value="{{s.num}}"  type="text" name="num" />
                            <span class="count-plus" ng-click="addNum(s.xm,s.num)"></span>
                        </div>
                    </td>
                    <td class="txt-error">￥<span class="price">{{s.price*s.num}}</span></td>
                    <td><a href="javascript:void(0);" class="del iconfont icon-shanchu" ng-click="deleteCar(s.xm,s.num)"></a></td>
                </tr>
            </tbody>
        </table>
        <div class="cart-total-box">
            <div class="cart-total">
                <div class="fr">
                     <div class="price" >
                        合计：<span >{{money}}</span>元
                    </div>
                    <a class="go-account ui-btn-theme" href="confirm-order.html">去租车</a>
                </div>
            </div>
        </div>
    </div>

    <!--脚部-->
    <div class="fatfooter">

    </div>
    <!--脚部-->
</body>

</html>